Skip to main content

Validate User Service Transaction Pin Token

GET /api/v1/users/{userId}/services/transactions/pin/{token}/validate

Description

Validate a user service transaction pin token.

Path Parameters

NameTypeDescription
tokenstringThe token to validate (path)
userIdstringThe user ID (path)

Request Headers

NameTypeDescription
authorizer-api-keystringThe authorizer API key (header)
authorizer-api-codestringThe authorizer API code (header)

Response Code: 200 - OK

Description

The token was validated successfully.

Response Fields

FieldTypeDescription
statusbooleanIndicates if the operation was successful
statusCodeintegerStatus code
messagestringResponse message
dataobjectData related to the validation
errorsarrayList of error messages, if any

Example

{
"status": true,
"statusCode": 0,
"message": "Token validated successfully",
"data": {},
"errors": [
{
"message": "Some error occurred",
"descriptiveMessage": "Detailed error message"
}
]
}

Method: GET

>http://your-api-url/api/v1/users/{userId}/services/transactions/pin/{token}/validate

Headers

Content-TypeValue
authorizer-api-key{{authorizerApiKey}}
authorizer-api-code{{authorizerApiCode}}

🔑 Authentication bearer

ParamValueType
token{{accessCode}}string

LANGUAGE

AUTHORIZATION

Bearer

CURL REQUEST


curl --request GET \ 
--url /api/v1/users/{userId}/services/transactions/pin/{token}/validate \
--header 'accept: application/json' \
--header 'content-type: application/json'

RESPONSE


Click Try It! to start a request and see the response here!